import React from 'react'

import store from "../../store/store"

export default function Movie() {
  // 从store拿值需要调用store.getStata()的方法
  const {count}=store.getState();
  return (
    <div>
      <h1>我是Movie组件</h1>
      <p>我收到的Count组件的值是 {count}</p>
    </div>
  )
}
